/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pt.iscte.iul.dcti.pa.gspas.model;

import pt.iscte.iul.dcti.pa.gspas.gui.annotation.ComponentLabelAnnotation;

/**
 *
 * @author Gedsimon Pereira - 58554
 * @contact gspas@iscte.pt
 *
 */
public class Assignment {

    private String name;
    private String description;

    public Assignment() {
    }

    public Assignment(String name) {
        this.name = name;
    }

    public Assignment(String name, String description) {
        this.name = name;
        this.description = description;
    }

    @ComponentLabelAnnotation(label = "Assignment name:")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @ComponentLabelAnnotation(label = "Description:")
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Assignment{" + "name=" + name + ", description=" + description + '}';
    }
}
